// 判断用户是否登陆过
$.ajax({
  url:'/employee/checkRootLogin',
  dataType:'json',
  success:function(info){
    // console.log(info)
    if(info.error){
      location.href = "./login.html"
    }
  }
})